<template>
    <div >
        <!--        基本信息-->
        <baseData ref="baseData" :projectId="projectId"></baseData>

        <!--        物业权属信息-->
       <property-ownership ref="belong" ></property-ownership>

        <!--        移交信息-->
       <transfer-data ref="transfer" ></transfer-data>

        <!--        土地信息-->
        <div class="resource-manage">
            <div class="card-box">
                <div class="card-title">土地信息</div>
                <el-form
                    ref="landInfo"
                    class="form-wrap"
                    label-position="top"
                    size="small"
                    :model="landInfo">
                    <el-form-item label="宗地号">
                        <span class="in_txt">{{landInfo.parcelNum}}</span>
                    </el-form-item>
                    <el-form-item label="宗地面积(m²)">
                        <span class="in_txt">{{landInfo.parcelArea}}</span>
                    </el-form-item>
                    <el-form-item label="土地用途">
                        <span class="in_txt">{{getCardTypeValue(landInfo.landUse,landUses)}}</span>
                    </el-form-item>
                   <!-- <el-form-item label="土地合同号">
                        <span class="in_txt">{{landInfo.landContractNum}}</span>
                    </el-form-item>-->
                    <el-form-item label="地址" class="full">
                        <span class="in_txt">{{landInfo.addressInfo}}</span>
                    </el-form-item>
                </el-form>
            </div>
        </div>

        <div class="resource-manage">
            <div class="card-box">
                <div class="card-title">上传文件</div>
                <div class="margin-box">
                    <upload-media
                        ref="propertyFiles"
                        :url="fileUploadUrl"
                        :propsFileList="uploadFileList"
                        :modelType="modelType"
                        :isView=true
                        type="file">
                    </upload-media>
                </div>
            </div>
        </div>
        <div class="resource-manage">
            <div class="card-box">
                <!--<el-form size="small" class="but_form">
                    <el-form-item class="full">
                        <el-button type="primary" @click="closeNowRouter()">关闭</el-button>
                    </el-form-item>
                </el-form>-->
                <el-button type="primary" @click="closeNowRouter()" class="pro-btn">关闭</el-button>
            </div>
        </div>

    </div>
</template>

<script src="./property_look.js">
</script>

<style scoped lang="scss">
    

    @include formWrap(4);

    .resource-manage {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 16px;
        padding: 16px 24px;
    }
    .in_txt {
        color: #999999;
    }
    .card-box {
        overflow: hidden;
        .pro-btn {
            float: right;
            margin: 20px;
        }
    }

</style>
